package excel.service;

import com.github.pagehelper.PageInfo;
import com.usian.model.common.dtos.ResponseResult;
import excel.pojo.Test;
import excel.pojo.User;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
 * @author 秉性哥
 * @createTime 2022/10/27 13:20
 * @description
 */
public interface UserService {

    

    ResponseResult poiImport();

    void add(Test test);

    PageInfo findPage(Integer pageIndex, Map serachMap);

    ResponseResult del(Integer id);

    ResponseResult add(User user);

    ResponseResult findById(Integer id);

    ResponseResult edit(User user);


    ResponseResult poiExportZip(HttpServletResponse response, Integer pageIndex, Map serachMap) throws IOException;

    public ResponseResult poiExportCsv(HttpServletResponse response);

    ResponseResult poiExport(HttpServletResponse response);
}
